<template>
  <div>
    <CloudRadio :default-checked="false" :disabled="disabled"> Disabled </CloudRadio>
    <br />
    <CloudRadio default-checked :disabled="disabled"> Disabled </CloudRadio>
    <div :style="{ marginTop: 20 }">
      <CloudButton type="primary" @click="toggleDisabled"> Toggle disabled </CloudButton>
    </div>
  </div>
</template>

<script>
  export default {
    title: '6.不可用  ',
    subTitle: 'Radio 不可用。',
    data () {
      return {
        disabled: true,
      }
    },
    methods: {
      toggleDisabled () {
        this.disabled = !this.disabled;
      },
    }
  }
</script>

<style lang="scss">
</style>